﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="service.aspx.cs" Inherits="JumbotCms.WebFile.Admin._mail_service" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title></title>
<link type="text/css" rel="stylesheet" href="../../admin/otherpage/styles/common.css" />
<script type="text/javascript" src="../../_data/SysConfig.js"></script>
<script type="text/javascript" src="../../_libs/jquery-min.js"></script>
<script type="text/javascript" src="../../scripts/jumbotcms.js?v4"></script>
<link type="text/css" rel="stylesheet" href="../../style/global.css" />
<link type="text/css" rel="stylesheet" href="../../_libs/jquery.tabs/style.css">
<!--[if lte IE 7]>
<link rel="stylesheet" href="../../_libs/jquery.tabs/style-ie.css" type="text/css">
<![endif]-->
<link type="text/css" rel="stylesheet" href="../../_libs/jquery.formvalidator/style.css" />
<script type="text/javascript" src="../../_libs/jquery.formvalidator.js"></script>

<script type="text/javascript">
$(document).ready(function(){
	ajaxTopNav('2');
	$.formValidator.initConfig({onError:function(msg){}});
    $("#txtServiceAddress").formValidator({tipid:"tipServiceAddress",onshow:"请输入客服邮箱地址",onfocus:"请输入客服邮箱地址",oncorrect:""}).RegexValidator({regexp:"email",datatype:"enum",onerror:"格式不正确"});;
	$("#txtServiceNickName").formValidator({tipid:"tipServiceNickName",onshow:"请输入客服邮箱署名",onfocus:"请输入客服邮箱署名",oncorrect:""}).InputValidator({min:1,onerror:"请输入客服邮箱署名"});
});
function ajaxTopNav(n)
{
	$("#tab"+n).toggleClass('tabs-selected');
}
function Button1_onclick() {
    return jQuery.formValidator.PageIsValid('1');
}
</script>
</head>
<body>
<form id="form1" runat="server">
	<br />
	<div>
		<div id="ajaxTopNav">
			<ul class="tabs-nav">
				<li id="tab1"><a href="system.aspx"><span>系统邮箱</span></a></li>
				<li id="tab2"><a href="service.aspx"><span>客服邮箱</span></a></li>
			</ul>
		</div>
		<div class="tabs-container">
			<table class="formtable">
				<tr>
					<th> 客服邮箱地址 </th>
					<td><asp:TextBox ID="txtServiceAddress" runat="server" MaxLength="80" Width="300px" CssClass="ipt"></asp:TextBox>
						<div class="ValidatorTip" id="tipServiceAddress" style="width:250px"> </div></td>
				</tr>
				<tr>
					<th> 客服邮箱署名 </th>
					<td><asp:TextBox ID="txtServiceNickName" runat="server" MaxLength="20" Width="300px" CssClass="ipt"></asp:TextBox>
						<div class="ValidatorTip" id="tipServiceNickName" style="width:250px"> </div></td>
				</tr>
			</table>
			<div class="buttonok">
				<asp:Button ID="Button1" OnClientClick="return Button1_onclick()" runat="server" Text="保存" 
                        CssClass="btnsubmit" onclick="Button1_Click" />
			</div>
		</div>
	</div>
</form>
</body>
</html>
